#pragma once

/* 
One header to rule them all.
*/

// Veuillez rajouter les en-tetes que vous rajouter ici s-il a lieu

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include "controller.h"
#include "model.h"
#include "view.h"
#include "winBGIm.h"
#include "calcul_3D.h"
#include "graphique_ecran.h"

// Constant definition

#define SUCCESS 0
#define FAILURE 1
#define YES 0
#define NO 1
#define SAMPLE_RATE 60.0 // In Hertz
#define DRIVER 0 // 0 for CSV input
#define DEBUG
#define ERROR_POSITION 5
#define ERROR_ANGLE 0.122173
#define PI 3.1415926535
#define PROBE "probe.txt"
#define PROBE_TOL "sonde_tolerance.txt"
#define CIRCLE_SIZE 25
#define SPEED_MULTIPLIER 0.25
#define BACKGNDCOLOR BLACK
#define BACKTIMECOLOR BLACK
#define PROBEEXPERT CYAN
#define PROBETECH YELLOW
#define BADPOSITION RED
#define GOODPOSITION GREEN
#define NUMBEROFPOINTS 40 //Nombre de points pour simuler la position initiale de la sonde.
#define RANGE 100 //Valeur maximale du decalage pour simuler la position initiale de la sosnde.
#define SIM_DIVIDER 1.1//Valeur de division pour se rapprocher de la cible

/*
BLOODY HELL FUCKING VISUAL PIECE OF SHIT STUDIO COMPILER NOT BEING FUCKING IEEE STANDARD
*RAGE QUIT*
Oh... it's EFFIN C89?! -_-

THIS SHOULD FRAKIN WORK GODDAMMIT

#ifdef DEBUG
    #define _DEBUG(fmt, args...) printf("%s:%s:%d: " fmt, __FILE__, __FUNCTION__, __LINE__, args)									  
#else
    #define _DEBUG(fmt, args...)
#endif
*/